package community.hospital.service.domain;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import community.hospital.common.BasePage;
import community.hospital.entity.Hospital;
import com.baomidou.mybatisplus.extension.service.IService;
import community.hospital.entity.request.ListHospitalRequest;

import java.util.List;

/**
* @author ydj
* @description 针对表【hospital(医院信息表)】的数据库操作Service
* @createDate 2023-01-27 15:05:08
*/
public interface HospitalService extends IService<Hospital> {

    Page<Hospital> listHospital(ListHospitalRequest request);

    int countByCreditCode(String creditCode);


    int countByName(String name);

    List<Hospital> listOptionHospital();

}
